#ifndef DTSTRUCT_H
#define DTSTRUCT_H

#include "multask.h"
#include "task_que.h"
#define false 0 
#define true 1 




#define TASK_STATUS_USED 1
#define TASK_STATUS_ACTIVE 2


#define INTDATA_CODE_MOUSE 1
#define INTDATA_CODE_KEYBOARD 2
#define INTDATA_CODE_TIMER 3


void InitQueue (CQUEUE *q , TASK *task) ;
int EnQueue (CQUEUE *q, INTDATA data) ;
int DeQueue (CQUEUE *q ,INTDATA *data);
int FullQueue (CQUEUE *q);
int EmptyCQueue (CQUEUE *q );


#endif   
  